package com.kedsoft.andaily.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LGP
 * @since 2019-04-10
 */
@TableName("pt_project")
public class Project implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String projectname;
    private String projectcode;
    private String projectuser;
    private String money;
    private String factoryname;
    private String factoryuser;
    private String factoryphone;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date starttime;
    private Integer status;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProjectname() {
        return projectname;
    }

    public void setProjectname(String projectname) {
        this.projectname = projectname;
    }

    public String getProjectcode() {
        return projectcode;
    }

    public void setProjectcode(String projectcode) {
        this.projectcode = projectcode;
    }

    public String getProjectuser() {
        return projectuser;
    }

    public void setProjectuser(String projectuser) {
        this.projectuser = projectuser;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getFactoryname() {
        return factoryname;
    }

    public void setFactoryname(String factoryname) {
        this.factoryname = factoryname;
    }

    public String getFactoryuser() {
        return factoryuser;
    }

    public void setFactoryuser(String factoryuser) {
        this.factoryuser = factoryuser;
    }

    public String getFactoryphone() {
        return factoryphone;
    }

    public void setFactoryphone(String factoryphone) {
        this.factoryphone = factoryphone;
    }

    @Override
    public String toString() {
        return "Project{" +
        ", id=" + id +
        ", projectname=" + projectname +
        ", projectcode=" + projectcode +
        ", projectuser=" + projectuser +
        ", starttime=" + starttime +
        ", money=" + money +
        ", factoryname=" + factoryname +
        ", factoryuser=" + factoryuser +
        ", factoryphone=" + factoryphone +
        ", status=" + status +
        "}";
    }
}
